package other;

public class Parent {

	public void publicMethod(){
		System.out.println("父类publicMethod方法");
		this.test();
		this.privateTest();
	}
	
	public void test(){
		System.out.println("父类test方法");
	}
	
	protected void privateTest(){
		System.out.println("父类privateTest方法");
	}
}
